package org.jeecg.modules.user.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @Description: 公司常用司机表
 * @Author: jeecg-boot
 * @Date:   2024-04-16
 * @Version: V1.0
 */
@Data
@TableName("wlhy_company_driver")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="wlhy_company_driver对象", description="公司常用司机表")
public class WlhyCompanyDriver implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private String sysOrgCode;
	/**公司*/
	@Excel(name = "公司", width = 15, dictTable = "wlhy_company where version = '9999-09-09 00:00:00' and status = 1", dicText = "company_name", dicCode = "id")
	@Dict(dictTable = "wlhy_company where version = '9999-09-09 00:00:00' and status = 1", dicText = "company_name", dicCode = "id")
    @ApiModelProperty(value = "公司")
    private String companyId;
	/**司机*/
	@Excel(name = "司机", width = 15, dictTable = "sys_user", dicText = "realname", dicCode = "id")
	@Dict(dictTable = "sys_user", dicText = "realname", dicCode = "id")
    @ApiModelProperty(value = "司机")
    private String driverUserId;
	/**车牌号*/
	@Excel(name = "车牌号", width = 15)
    @ApiModelProperty(value = "车牌号")
    private String driverVehicleNo;
	/**司机电话*/
	@Excel(name = "司机电话", width = 15)
    @ApiModelProperty(value = "司机电话")
    private String driverPhone;
	/**司机姓名*/
	@Excel(name = "司机姓名", width = 15)
    @ApiModelProperty(value = "司机姓名")
    private String driverName;
	/**司机银行卡*/
	@Excel(name = "司机银行卡", width = 15)
    @ApiModelProperty(value = "司机银行卡")
    private String driverBankId;
	/**银行卡开户名*/
	@Excel(name = "银行卡开户名", width = 15)
    @ApiModelProperty(value = "银行卡开户名")
    private String driverBankHolder;
	/**银行卡号*/
	@Excel(name = "银行卡号", width = 15)
    @ApiModelProperty(value = "银行卡号")
    private String driverBankCardNo;
	/**开户行*/
	@Excel(name = "开户行", width = 15)
    @ApiModelProperty(value = "开户行")
    private String driverBankName;
	/**状态*/
	@Excel(name = "状态", width = 15, dicCode = "row_status")
	@Dict(dicCode = "row_status")
    @ApiModelProperty(value = "状态")
    private String status;
    /**订单发布人用户id*/
    @Excel(name = "订单发布人用户id", width = 15, dicCode = "订单发布人用户id")
    @ApiModelProperty(value = "订单发布人用户id")
    private java.lang.String waybillPubUserId;
}
